package com.hc.oauthresources.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping
public class UserController {
    @RequestMapping("findAll")
    public String findAll(){
        //Object principal = SecurityContextHolder.getContext().getAuthentication().getPrincipal();
        return "userController";
    }
}
